package com.gaofans.nrpc.common.serializer.protostuff;

import com.gaofans.nrpc.common.serializer.Serializer;
import com.gaofans.nrpc.common.serializer.SerializerBuilder;

/**
 * @author GaoFans
 */
public class ProtostuffSerializerBuilder implements SerializerBuilder {
    @Override
    public Serializer build() {
        return new ProtostuffSerializer();
    }

    @Override
    public byte type() {
        return 2;
    }
}
